import request from '@/utils/request'

export function list (query) {
  return request({
    url: '/blog-core/front/problem/list',
    method: 'get',
    params: query
  })
}

export function detail (id) {
  return request({
    url: '/blog-core/front/problem/' + id,
    method: 'get'
  })
}
